<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Message</title>
</head>
<body>
	<%
		request.setCharacterEncoding("UTF-8");
		String href="";String content="";
		try{
			content=request.getParameter("content");
		}catch(Exception e){
			
		}
		try{
			href=request.getParameter("href");
		}catch(Exception e){
			
		}
	%>
	
<script>
	var content="<%=content%>";
	var href="<%=href%>";
	if(content!="null"){
		alert(content);
	}
	if(href!="" && href!="null" && href!=null){
		if(href=="back"){
			window.history.go(-1);
		}else{
			window.location.href="<%=href%>";
		}

	}
</script>

</body>
</html>